package com.artmofang.service.Impl;

import com.artmofang.mapper.MClassMapper;
import com.artmofang.pojo.MClass;
import com.artmofang.service.MClassService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MClassServiceImpl implements MClassService {

    @Autowired
    MClassMapper mClassMapper;

    @Override
    public List<MClass> queryClassAll() {
        List<MClass> list = mClassMapper.selectAll();
        return list;
    }
}
